package com.vogue.supplymall.account.domain.dto;

import com.vogue.supplymall.common.domain.validate.Length;
import com.vogue.supplymall.common.domain.validate.NotEmpty;
import com.vogue.supplymall.common.domain.validate.Regex;
/**
 * Created by 崔岳 on 2017-11-30. <br>
 * 
 * 封装注册信息Bean
 */
public class RegistDTO implements java.io.Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 913424085095544111L;

	/** 验证码 */
	@NotEmpty(name="checkCode")
	private String checkCode;

	/** 密码 */
	@NotEmpty(name="password")
	@Length(min=6, max=20, name="password")
	private String password;
	
	/** 手机号 */
	@NotEmpty(name="tel")
	@Length(min=11, max=16, name="tel")
	@Regex(name="tel", regexcontent="tel")
	private String tel;
	
	public String getCheckCode() {
		return checkCode;
	}

	public void setCheckCode(String checkCode) {
		this.checkCode = checkCode;
	}
	
	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}	
	
}
